package com.swx.identityservice.dtos.dept;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.persistence.Column;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("输出部门Dto")
public class DeptTreeDto {

    @Column(name = "AffiliatedUnitId")
    private Integer affiliatedunitid;

    @ApiModelProperty("部门Id")
    @NotNull
    private Integer id;

    @Column(name = "PdeptId")
    private Integer pdeptid;

    @Column(name = "Title")
    private String title;


    @Column(name = "AbbreviationDept")
    private String abbreviationdept;

    @Column(name = "Pid")
    private Integer pid;


    /**
     * 创建人Id
     */
    @Column(name = "CreatorUserId")
    private Integer creatoruserid;

    /**
     * 更新人Id
     */
    @Column(name = "LastModifierUserId")
    private Integer lastmodifieruserid;

    /**
     * 删除标记
     */
    @Column(name = "IsDeleted")
    private Boolean isdeleted;

    @Column(name = "NodeType")
    private String nodetype;

    @Column(name = "Level")
    private String level;

    @Column(name = "CaseNumberAbbreviationDept")
    private String casenumberabbreviationdept;

    @Column(name = "WHAbbreviationDept")
    private String whabbreviationdept;


    @Column(name = "HandleBusiness")
    private Integer[] handleBusiness;

    @Column(name = "SortNum")
    private Integer sortnum;

    @Column(name = "StatisticalDeptMapping")
    private Integer[] statisticaldeptmapping;


    @Column(name = "Remark")
    private String remark;

    @Column(name = "SelectDept")
    private String selectdept;

}
